home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Windows 95 with MFC
/
Programming Windows 95 with MFC (Microsoft Programming Series)(097-0001465)(1996).iso
/
CODE
/
Chap02
/
GdiDemo1
/
GdiDemo1.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-04-05
|
700b
|
37 lines
//***********************************************************************
//
// GdiDemo1.h
//
//***********************************************************************
class CMyApp : public CWinApp
{
public:
virtual BOOL InitInstance ();
};
class CMainWindow : public CFrameWnd
{
private:
int m_cxChar;
int m_cyChar;
void ShowPenStyles (CDC*, int, int);
void ShowPenWidths (CDC*, int, int);
void ShowBrushStyles (CDC*, int, int);
public:
CMainWindow ();
protected:
afx_msg int OnCreate (LPCREATESTRUCT);
afx_msg void OnPaint ();
DECLARE_MESSAGE_MAP ()
};
struct STYLES {
int nStyle;
char szStyleName[16];
};